const api = {
  consumption: {
    page: "bus/consumption/page",
    list: "bus/consumption/list",
    get: "bus/consumption/get",
    add: "bus/consumption/save",
    update: "bus/consumption/update",
    remove: "bus/consumption/remove"
  },
  dept: {
    page: "bus/dept/page",
    list: "bus/dept/list",
    get: "bus/dept/get",
    add: "bus/dept/save",
    update: "bus/dept/update",
    setDeptState: "bus/dept/setDeptState",
    remove: "bus/dept/remove"
  },
  hyDept: {
    page: "bus/bdh/page",
    list: "bus/bdh/list",
    get: "bus/bdh/get"
  },
  saleMan: {
    list: "bus/saleman/list",
    setSalemanState: "bus/saleman/setSalemanState",
    page: "bus/saleman/page",
    get: "bus/saleman/get",
    add: "bus/saleman/save",
    update: "bus/saleman/update",
    syncHyData: "bus/saleman/syncHyData",
    updateAmount: "bus/saleman/updateAmount",
    syncToHy: "bus/saleman/syncToHy",
    exportUrl: "bus/saleman/export",
    remove: "bus/saleman/remove"
  },
  salemanBank: {
    page: "bus/bsb/page",
    setBankState: "bus/bsb/setBankState",
    list: "bus/bsb/list",
    get: "bus/bsb/get",
    add: "bus/bsb/save",
    update: "bus/bsb/update",
    remove: "bus/bsb/remove"
  },
  customBank: {
    page: "bus/custom/bank/page",
    list: "bus/custom/bank/list",
    get: "bus/custom/bank/get",
    add: "bus/custom/bank/save",
    update: "bus/custom/bank/update",
    remove: "bus/custom/bank/remove"
  },
  tasktodo: {
    page: "bpm/task/listTodo",
    listDone: "bpm/task/listDone",
    taskDonePageList: "bpm/task/taskDonePageList",
    list: "bpm/task/list",
    get: "bpm/task/get",
    add: "bpm/task/save",
    update: "bpm/task/update",
    getTaskData: "bpm/task/getTaskData",
    complete: "bpm/task/complete",
    claim: "bpm/task/claim",
    getBackNodes: "bpm/task/getBackNodes",
    backTask: "bpm/task/backTask",
    unclaim: "bpm/task/unclaim",
    remove: "bpm/task/remove"
  },
  paymentType: {
    page: "bus/paymentType/page",
    list: "bus/paymentType/list",
    get: "bus/paymentType/get",
    add: "bus/paymentType/save",
    update: "bus/paymentType/update",
    setDeptState: "bus/paymentType/setDeptState",
    remove: "bus/paymentType/remove"
  },

  hyorder: {
    page: "hy/order/page",
    list: "hy/order/list",
    get: "hy/order/get",
    getOutOrderPrint: "hy/order/getOutOrderPrint",
    getMergeOutOrderPrint: "hy/order/getMergeOutOrderPrint",
    add: "hy/order/save",
    update: "hy/order/update",
    saveTuibu: "hy/order/saveTuibu",
    saveBack: "hy/order/saveBack",
    syncOrderReturn: "hy/order/syncOrderReturn",
    revokeProcess: "hy/order/revokeProcess",
    updateSendState: "hy/order/updateSendState",
    deleteBackOrder: "hy/order/deleteBackOrder",
    cancelRevokeProcess: "hy/order/cancelRevokeProcess",
    cancelInvoiceInfo: "hy/order/cancelInvoiceInfo",
    syncOrder: "hy/order/syncOrder",
    cancelCaclulateOrder: "hy/order/cancelCaclulateOrder",
    updateOrderInvoiceInfo: "hy/order/updateOrderInvoiceInfo",
    updateCaclulateOrder: "hy/order/updateCaclulateOrder",
    getPrintInfo: "hy/order/getPrintInfo",
    getBackOrderPrintInfo: "hy/order/getBackOrderPrintInfo",
    updatePrintTag: "hy/order/updatePrintTag",
    updateOutPrintTag: "hy/order/updateOutPrintTag",
    updateOutPrintTag2: "hy/order/updateOutPrintTag2",
    setOutPrintTag: "hy/order/setOutPrintTag",
    setOutPrintTag2: "hy/order/setOutPrintTag2",
    remove: "hy/order/remove",
    dfType: [{ label: "公司垫付", value: 1 }, { label: "市场垫付", value: 2 }],
    bankList: "system/bank/list",
    returnType: [{ label: "按数量", value: 1 }, { label: "按金额", value: 2 }],
    deptList: "bus/dept/list",
    exportTemplate: "hy/bhd/exportTemplate",
    listByCompanyId: "bus/dept/listByCompanyId",
    exportUrl: "hy/order/export",
  },
  sendInfo: {
    page: "bus/bhs/page",
    list: "bus/bhs/list",
    get: "bus/bhs/get",
    add: "bus/bhs/save",
    update: "bus/bhs/update",
    remove: "bus/bhs/remove"
  },
  formula: {
    page: "system/formula/page",
    list: "system/formula/list",
    formulaType: [{ label: "供货方返款", value: 1 }, { label: "利润公式", value: 2 }, { label: "结算公式", value: 3 }, { label: "供货方高开税金", value: 4 }, { label: "开票税金", value: 5 }]
  },
  hyOrderDetails: {
    list: "hy/bhd/list",
    page: "hy/bhd/page",
    get: "hy/bhd/get",
    deleteById: "hy/bhd/deleteById",
    backByOrderId: "hy/bhd/backByOrderId",
    backByOrderDetailsId: "hy/bhd/backByOrderDetailsId",
    update: "hy/bhd/update",
    customUpdate: "hy/bhd/customUpdate",
    calculate: "hy/bhd/calculate",
    discount: "hy/bhd/discount",
    chaiFen: "hy/bhd/chaiFen",
    cancelChaiFen: "hy/bhd/cancelChaiFen",
    clearExportData: "hy/bhd/clearExportData",
    exportUrl: "hy/bhd/export",
    exportUrl2: "hy/bod/export2",
    exportTemplate: "hy/bhd/exportTemplate",
    returnList: "hy/bhd/returnList",
    getOutOrderPrint: "hy/bhd/getOutOrderPrint",
    updatePrintDrugJs: "hy/bhd/updatePrintDrugJs",
    getOutOrderPrint2: "hy/bhd/getOutOrderPrint2",
    getMergeOutOrderPrint: "hy/bhd/getMergeOutOrderPrint",
    updateOutPrintTag: "hy/bhd/updateOutPrintTag",
  },
  //回款明细
  hyOrderDetailsReturn: {
    list: "bus/bhr/list",
    page: "bus/bhr/page",
    update: "bus/bhr/update",
    exportUrl: "bus/bhr/export",
    exportTemplate: "bus/bhr/exportTemplate",
    chaiFen: "bus/bhr/chaiFen",
    updateOverAmount: "bus/bhr/updateOverAmount",
    cancelChaiFen: "bus/bhr/cancelChaiFen",
    discount: "bus/bhr/discount",
    updateReturnState: "bus/bhr/updateReturnState",
    syncToReturn: "bus/bhr/syncToReturn",
    get: "bus/bhr/get"
  },
  //资金支付单
  payment: {
    page: "bus/payment/page",
    list: "bus/payment/list",
    get: "bus/payment/get",
    listByOrderId: "bus/payment/listByOrderId",
    initSettlePayment: "bus/payment/initSettlePayment",
    getPrintInfo: "bus/payment/getPrintInfo",
    getHyPrintInfo: "bus/payment/getHyPrintInfo",
    getRenkuanInfo: "bus/payment/getRenkuanInfo",
    getHuikuanInfo: "bus/payment/getHuikuanInfo",
    updatePrintTag: "bus/payment/updatePrintTag",
    getInvoiceInfo: "bus/payment/getInvoiceInfo",
    getSettleApplyInfo: "bus/payment/getSettleApplyInfo",
    getDeptSettleApplyInfo: "bus/payment/getDeptSettleApplyInfo",
    getSettlePayInfo: "bus/payment/getSettlePayInfo",
    getReturnInfo: "bus/payment/getReturnInfo",
    getInvoicePrintInfo: "bus/payment/getInvoicePrintInfo",
    getRefundBondInfo: "bus/payment/getRefundBondInfo",
    getRefundHkInfo: "bus/payment/getRefundHkInfo",
    add: "bus/payment/save",
    update: "bus/payment/update",
    exportUrl: "bus/payment/hyExport",
    unBindOrder: "bus/payment/unBindOrder",
    exportInvoiceDetails: "bus/payment/exportInvoiceDetails",
    remove: "bus/payment/remove"
  },
  paymentOrder: {
    remove: "bus/bpo/remove",
    list: "bus/bpo/list"
  },
  //开票单位
  invoiceunit: {
    list: "bus/invoiceunit/list",
    invoiceType: [{ label: "专票", value: 2 }, { label: "普票", value: 1 }],
    baopiaoType: [{ label: "包票", value: 1 }, { label: "不包票", value: 2 }],
    gthTaxType: [{ label: "开票金额/1.03*0418", value: 1 }, { label: "开票金额/1.03*0.0536(江苏二部)", value: 2 }],
    page: "bus/invoiceunit/page",
    get: "bus/invoiceunit/get",
    add: "bus/invoiceunit/save",
    setState: "bus/invoiceunit/setState",
    update: "bus/invoiceunit/update",
    remove: "bus/invoiceunit/remove"
  },
  bib: {
    page: "bus/bib/page",
    list: "bus/bib/list",
    get: "bus/bib/get",
    setBankState: "bus/bib/setBankState",
    add: "bus/bib/save",
    update: "bus/bib/update",
    remove: "bus/bib/remove",
    bankType: [{ label: "税金账户", value: 1 }, { label: "返款账户", value: 2 }]
  },
  //押金
  deposit: {
    page: "bus/deposit/page",
    list: "bus/deposit/list",
    get: "bus/deposit/get",
    add: "bus/deposit/save",
    update: "bus/deposit/update",
    remove: "bus/deposit/remove",
    refundAmount: "bus/deposit/refundAmount"
  },
  //押金记录
  bal: {
    page: "bus/bal/page",
    list: "bus/bal/list",
    get: "bus/bal/get",
    add: "bus/bal/save",
    update: "bus/bal/update",
    remove: "bus/bal/remove",
    amountType: [{ label: "收押金", value: 1 }, { label: "退押金", value: 2 }, { label: "保证金", value: 3 }]
  },
  // 费用报销
  expense: {
    page: "bus/expense/page",
    list: "bus/expense/list",
    get: "bus/expense/get",
    add: "bus/expense/save",
    update: "bus/expense/update",
    uploadFile: "/base/bus/expense/uploadFile",
    remove: "bus/expense/remove"
  },
  custom: {
    list: "bus/custom/list",
    listByName: "bus/custom/listByName",
    selectTop20HyCustomList: "bus/custom/selectTop20HyCustomList"
  },
  policy: {
    page: "bus/bpf/page",
    list: "bus/bpf/list",
    get: "bus/bpf/get",
    add: "bus/bpf/save",
    update: "bus/bpf/update",
    remove: "bus/bpf/remove"
  },
  //结算政策通用配置
  bpd: {
    page: "bus/bpd/page",
    list: "bus/bpd/list",
    get: "bus/bpd/get",
    add: "bus/bpd/save",
    update: "bus/bpd/update",
    remove: "bus/bpd/remove",
    selectLotNoByDrugsId: "bus/bpd/selectLotNoByDrugsId",
    getHistoryDrug: "bus/bpd/getHistoryDrug",
    selectTop10HyDrugList: "bus/bpd/selectTop10HyDrugList",
    updateOnUseCount: "bus/bpd/updateOnUseCount",
    updateDrugOnUseCount: "bus/bpd/updateDrugOnUseCount"
  },
  //商品
  drugs: {
    page: "bus/drugs/page",
    getAuthDrugList: "bus/drugs/getAuthDrugList",
    setAuthDrugs: "bus/drugs/setAuthDrugs"
  },
  //市场结算政策
  bpc: {
    page: "bus/bpc/page",
    list: "bus/bpc/list",
    get: "bus/bpc/get",
    add: "bus/bpc/save",
    update: "bus/bpc/update",
    remove: "bus/bpc/remove"
  },
  //部门结算政策
  bpdept: {
    page: "bus/bpdept/page",
    list: "bus/bpdept/list",
    get: "bus/bpdept/get",
    add: "bus/bpdept/save",
    update: "bus/bpdept/update",
    remove: "bus/bpdept/remove"
  },
  //业务员结算政策
  bps: {
    page: "bus/bps/page",
    list: "bus/bps/list",
    get: "bus/bps/get",
    add: "bus/bps/save",
    update: "bus/bps/update",
    remove: "bus/bps/remove"
  },
  bpb: {
    page: "bus/bpb/page",
    list: "bus/bpb/list",
    get: "bus/bpb/get",
    add: "bus/bpb/save",
    update: "bus/bpb/update",
    remove: "bus/bpb/remove"
  },
  //职务结算政策
  bpp: {
    page: "bus/bpp/page",
    list: "bus/bpp/list",
    get: "bus/bpp/get",
    add: "bus/bpp/save",
    update: "bus/bpp/update",
    remove: "bus/bpp/remove"
  },
  //客户货款余额记录
  bcb: {
    page: "bus/bcb/page",
    list: "bus/bcb/list",
    get: "bus/bcb/get",
    add: "bus/bcb/save",
    cfAmount: "bus/bcb/cfAmount",
    revokeCfAmount: "bus/bcb/revokeCfAmount",
    update: "bus/bcb/update",
    remove: "bus/bcb/remove"
  },
  //开票明细表
  bhid: {
    page: "bus/bhid/page",
    list: "bus/bhid/list",
    exportUrl: "bus/bhid/export",
    exportTemplate: "bus/bhid/exportTemplate",
    remove: "bus/bhid/remove",
    cfAmount: "bus/bhid/cfAmount",
    getInvoiceInfo: "bus/bhid/getInvoiceInfo",
    revokeCfAmount: "bus/bhid/revokeCfAmount",
    insertInvoiceDetails: "bus/bhid/insertInvoiceDetails",
    clearPayId: "bus/bhid/clearPayId"
  },
  //结算发票
  bhi: {
    page: "bus/bhi/page",
    list: "bus/bhi/list",
    get: "bus/bhi/get",
    exportUrl: "bus/bhi/export",
    add: "bus/bhi/save",
    update: "bus/bhi/update",
    remove: "bus/bhi/remove"
  },
  //业务员资保金余额记录
  bsmb: {
    page: "bus/bsmb/page",
    list: "bus/bsmb/list",
    get: "bus/bsmb/get",
    add: "bus/bsmb/save",
    cfAmount: "bus/bsmb/cfAmount",
    revokeCfAmount: "bus/bsmb/revokeCfAmount",
    update: "bus/bsmb/update",
    remove: "bus/bsmb/remove"
  },
  procureReport: {
    page: "hy/remote/order/procureReport"
  },
  saleReport: {
    page: "hy/remote/order/saleReport"
  },
  stockReport: {
    page: "hy/remote/order/stockReport"
  },
  saleYearStatistic: {
    page: "hy/bhd/reportYearList",
    head: "hy/bhd/reportYearHead",
    list: "hy/bhd/reportYearList"
  },
  saleDayStatistic: {
    page: "hy/bhd/reportDayList",
    head: "hy/bhd/reportDayHead",
    list: "hy/bhd/reportDayList"
  },
  bbs: {
    page: "bus/bbs/page",
    list: "bus/bbs/list",
    get: "bus/bbs/get",
    add: "bus/bbs/save",
    setAmountState: "bus/bbs/setAmountState",
    importData: "bus/bbs/importData",
    exportList: "bus/bbs/exportList",
    update: "bus/bbs/update",
    remove: "bus/bbs/remove"
  },

  //erp综合查询
  erpSearch: {
    procureList: "hy/ept/search/procureList",
    procureDetailList: "hy/ept/search/procureDetailList",
    saleList: "hy/ept/search/saleList",
    saleDetailList: "hy/ept/search/saleDetailList",
    mxzList: "hy/ept/search/mxzList",
    selectHySaleManList: "hy/ept/search/selectHySaleManList",
    selectHyDeptList: "hy/ept/search/selectHyDeptList",
    selectDrugList: "hy/ept/search/selectDrugList",
    selectHyCustomList: "hy/ept/search/selectHyCustomList",
    selectSaleHistoryList: "hy/ept/search/selectSaleHistoryList",
    selectStockList: "hy/ept/search/selectStockList",
    updateCostPrice: "hy/ept/search/updateCostPrice",

    exportProcureList: "hy/ept/search/exportProcureList",
    exportProcureDetailList: "hy/ept/search/exportProcureDetailList",
    exportSaleList: "hy/ept/search/exportSaleList",
    exportSaleDetailList: "hy/ept/search/exportSaleDetailList",
    exportMxzList: "hy/ept/search/exportMxzList"
  },

  //付款明细
  paymentDetails: {
    page: "bus/paymentDetails/page",
    list: "bus/paymentDetails/list",
    get: "bus/paymentDetails/get",
    getAmountInfo: "bus/paymentDetails/getAmountInfo",
    exportUrl: "bus/paymentDetails/export",
    add: "bus/paymentDetails/save",
    update: "bus/paymentDetails/update",
    remove: "bus/paymentDetails/remove"
  }
}
export default api